<?php
class ent_user extends Lead_EDO_Object_Abstract
{
    
    static $_typeid = 5;
    static $_tables = array('ent_userbasic');
    
    
    public $fullname;
    
    public function isAnonymous()
    {
        return (bool) ($this->level == 0);
    }
    
    
    public function fetch($id)
    {
        parent::fetch($id);
        
        $this->fullname = $this->firstname . ' ' . $this->surname;
    }
    
    
}
